package com.snap.vseries.bean;

import io.protostuff.Tag;

public class AnalysisProtocol {

    @Tag(1)
    private boolean autoThreshold = true;
    @Tag(2)
    private float threshold = 1.1f;
    @Tag(3)
    private boolean autoBaseline = true;
    @Tag(4)
    private int baselineStart = 3;
    @Tag(5)
    private int baselineStop = 15;

    public AnalysisProtocol() {
    }

//    public AnalysisProtocol(boolean autoThreshold, float threshold, boolean autoBaseline, int baselineStart, int baselineStop) {
//        this.autoThreshold = autoThreshold;
//        this.threshold = threshold;
//        this.autoBaseline = autoBaseline;
//        this.baselineStart = baselineStart;
//        this.baselineStop = baselineStop;
//    }

    public boolean isAutoThreshold() {
        return autoThreshold;
    }

    public void setAutoThreshold(boolean autoThreshold) {
        this.autoThreshold = autoThreshold;
    }

    public float getThreshold() {
        return threshold;
    }

    public void setThreshold(float threshold) {
        this.threshold = threshold;
    }

    public boolean isAutoBaseline() {
        return autoBaseline;
    }

    public void setAutoBaseline(boolean autoBaseline) {
        this.autoBaseline = autoBaseline;
    }

    public int getBaselineStart() {
        return baselineStart;
    }

    public void setBaselineStart(int baselineStart) {
        this.baselineStart = baselineStart;
    }

    public int getBaselineStop() {
        return baselineStop;
    }

    public void setBaselineStop(int baselineStop) {
        this.baselineStop = baselineStop;
    }
}
